import request from '@/utils/request';

// 医生模板列表
export const fieldTemplateList = params => request({
    url: '/business/fieldTemplate/selectList',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 医生模板新增
export const fieldTemplateAdd = params => request({
    url: '/business/fieldTemplate/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 医生模板修改
export const fieldTemplateUpdate = params => request({
    url: '/business/fieldTemplate/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 医生模板状态修改
export const fieldTemplateStatus = params => request({
    url: '/business/fieldTemplate/updateStatus',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 医生模板详情

export const fieldTemplateDetail = params => request({
    url: '/business/fieldTemplate/getDetail',
    method: 'GET',
    params
});
// 医生模板条件查询详情
export const selectByQueryDetail = params => request({
    url: '/business/fieldTemplate/selectByQueryDetail',
    method: 'POST',
    data: params
});
